import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import http from "@/utils/luch-request/index.js"
Vue.config.productionTip = false
App.mpType = 'app'

Vue.prototype.$http = http
const app = new Vue({
    ...App
})

Vue.mixin({
	methods:{
		navBack(){
			uni.navigateBack()
		}
	}
})

app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif

